package cate.common.table.res.furniturecall.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.item.hero.StarGroupList;

@EExcelRowClass
public class FurnitureCallTypeRow extends ERow {
    @EExcelNoteField(fieldName = "召唤次数")
    public int rcount;

    @EExcelNoteField(fieldName = "召唤模式")
    public int mode;

    @EExcelNoteField(fieldName = "钻石送经验")
    public String rewardStr;

    @EExcelNoteField(fieldName = "道具消耗")
    public String costStr;

    @EExcelNoteField(fieldName = "消耗钻石")
    public String costM1Str;

    @EExcelNoteField(fieldName = "刷新时间")
    public int freshtime;

    @EExcelNoteField(fieldName = "刷新添加次数")
    public int dayCntAdd;

    @EExcelNoteField(fieldName = "免费次数上限")
    public int freeMax;

    @EExcelNoteField(fieldName = "奖励召唤积分")
    public int cangetJf;

    @EExcelNoteField(fieldName = "星组配置")
    public String groupConfig;

    @EExcelNoteField(fieldName = "召唤红色次数上限")
    public int countMax;

    @EExcelNoteField(fieldName = "替换星组")
    private String replaceGroup;

    public StarGroupList config = new StarGroupList();

    public StarGroupList replaceConfig = new StarGroupList();

    @Override
    public void decode() {
        config.parse(groupConfig);
        replaceConfig.parse(replaceGroup);
    }
}
